<%@ page import="com.ShopData" %><%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/3/23
  Time: 15:22
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
      String fash_sale_good_name = application.getInitParameter("fash_shop_name");
      String normal_sale_good_name = application.getInitParameter("normal_shop_name");
%>

<html>
<head>
    <title>Title</title>
    <h1>here is mainpage.jsp</h1>
</head>
<body>
<p>You Can Buy Shop Now!!!!</p></br>
<p>---------------------------------------------------------------------</p>
<p>|</p>
<p>|     fash_shop_count : <%= ShopData.instance.fash_shop_count %></p>
<p>|     normal_shop_count : <%= ShopData.instance.normal_shop_count %></p>
<p>|</p>
<p>----------------------------------------------------------------------</p>
</br></br>
<form name="input" action="/simpleshop/fashsale" method="get">
    <h3>fash sale</h3>
    <h4>good name: <%=fash_sale_good_name %></h4>
    <input type="submit" value="buy now">
</form>

</br></br>
<form name="input" action="/simpleshop/normalshop" method="get">
    <h3>normal shop</h3>
    <h4>shop name: <%=normal_sale_good_name %></h4>
    <input type="submit" value="buy now">
</form>
</body>
</html>
